package com.hooker.util

class Constants {

    companion object {
        const val RULE_TAG_ID = "Hooker.Rule"
        const val MAIL_TAG_ID = "Hooker.mail"
    }

    enum class HookType {
        HOOKER_DEBUG("Hooker.Debug", "调试"),
        HOOKER_INJECT("Hooker.Inject", "注入"),
        HOOKER_FILE("Hooker.File", "文件"),
        HOOKER_NETWORK("Hooker.NetWork", "网络"),
        HOOKER_CONTEXT("Hooker.Context", "上下文"),
        HOOKER_ACTIVITY("Hooker.Activity", "页面"),
        HOOKER_SERVICE("Hooker.Service", "Service服务"),
        HOOKER_CONTENTPROVIDER("Hooker.ContentProvider", "ContentProvider"),
        HOOKER_BROADCAST("Hooker.BroadCast", "广播"),
        HOOKER_SP("Hooker.SharedPreference", "SP文件"),
        HOOKER_URI("Hooker.Uri", "Uri"),
        HOOKER_JSON("Hooker.Json", "Json"),
        HOOKER_SQLITE("Hooker.Sqlite", "数据库"),
        HOOKER_WEBVIEW("Hooker.WebView", "WebView"),
        HOOKER_STRING("Hooker.String", "String字符串"),
        HOOKER_PERMISSION("Hooker.Permission", "权限管理");

        private val id: String;
        private val tName: String;

        fun getId():String
        {
            return id;
        }

        constructor(id: String, name: String) {
            this.id = id;
            this.tName = name;
        }
    }
}